﻿Public Class Soporte : Implements IEquatable(Of Soporte)

    Public Property CodSoporte As Integer
    Public Property Nombre As String

    Public Sub New()

    End Sub

    Public Sub New(codsoporte As Integer, nombre As String)
        Me.CodSoporte = codsoporte
        Me.Nombre = nombre
    End Sub

    Public Overrides Function ToString() As String
        Return Me.Nombre
    End Function
    Public Function Equals1(other As Soporte) As Boolean Implements IEquatable(Of Soporte).Equals
        Return Me.Nombre = other.Nombre
    End Function
End Class
